<div class="carousel">
  <div class="wrap">
    <i class="arrow left" nz-icon nzType="left" nzTheme="outline" (click)="toggleCarousel('pre')"></i>
    <ng-content></ng-content>
    <ng-template #dot let-index>
      <i class="dot" [class.active]="currentIndex === index"></i>
    </ng-template>
    <i class="arrow right" nz-icon nzType="right" nzTheme="outline" (click)="toggleCarousel('next')"></i>
  </div>
</div>
